<?php
/**
 * 后台首页控制器
 * @authors wangkang (wangkang@myhexin.com)
 * @date    2016-06-05 13:31:22
 * @version $Id$
 */

class Index
{
    public function indexAction()
    {
        $data = "testdata";
        $action = getAction(__FUNCTION__);
        $view = getViewFile(__FILE__);
        Base::assign('data', $data, $action);
        Base::display($action, $view);
    }

    public function addAction()
    {
        $action = getAction(__FUNCTION__);
        $view = getViewFile(__FILE__);
        // echo $action."---".$view;exit;
        // Base::assign('data', $data, $action);
        Base::display($action, $view);
    }

    public function delAction()
    {

    }
}
